class Track{
    constructor(x,y,dir){
        this.x = x;
        this.y = y;
        this.dir = dir;
    }
}